mprintf((0,"Note: Clearing object %d (type=%d, id=%d) with lifeleft=%x\n",objnum,Objects[objnum].type,Objects[objnum].id,Objects[objnum].lifeleft));
#endif
obj_delete(objnum);
}
#ifndef NDEBUG
else if (Objects[objnum].type!=OBJ_NONE && Objects[objnum].lifeleft < i2f(2))
mprintf((0,"Note: NOT clearing object %d (type=%d, id=%d) with lifeleft=%x\n",objnum,Objects[objnum].type,Objects[objnum].id,Objects[objnum].lifeleft));
#endif
}
//attaches an object, such as a fireball, to another object, such as a robot